import os
import multiprocessing

pythonpath = os.path.dirname(os.path.abspath(__file__))
bind = '0.0.0.0:5000'
workers = multiprocessing.cpu_count() * 2 + 1
backlog = 2048
worker_class = "gevent"
debug = False
daemon = True
proc_name = 'flask'
loglevel = 'warning'
accesslog = os.path.join(pythonpath, 'access.log')
errorlog = os.path.join(pythonpath, 'error.log')
pidfile = os.path.join(pythonpath, 'server.pid')